[INFO] cloning repository https://github.com/Kloenk/rusty-nix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kloenk/rusty-nix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7998a0067692461072c5257b1087e394dee8fcf
[INFO] building Kloenk/rusty-nix against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKloenk%2Frusty-nix" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Kloenk/rusty-nix on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Kloenk/rusty-nix
[INFO] finished tweaking git repo https://github.com/Kloenk/rusty-nix
[INFO] tweaked toml for git repo https://github.com/Kloenk/rusty-nix written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Kloenk/rusty-nix already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 21331e3b571dd857a5113a70841006a3198d193ef792e8f20ee76442fec1f051
[INFO] running `Command { std: "docker" "start" "-a" "21331e3b571dd857a5113a70841006a3198d193ef792e8f20ee76442fec1f051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21331e3b571dd857a5113a70841006a3198d193ef792e8f20ee76442fec1f051", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21331e3b571dd857a5113a70841006a3198d193ef792e8f20ee76442fec1f051", kill_on_drop: false }`
[INFO] [stdout] 21331e3b571dd857a5113a70841006a3198d193ef792e8f20ee76442fec1f051
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 106ea37ea0728959804de1bc60f1875117de2ac5cc7711a79113bc9851b36a3c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "106ea37ea0728959804de1bc60f1875117de2ac5cc7711a79113bc9851b36a3c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling futures-core v0.3.8
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling smallvec v1.5.0
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling futures-sink v0.3.8
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling futures-io v0.3.8
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling cc v1.0.64
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling ahash v0.4.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.0
[INFO] [stderr]    Compiling bytes v0.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling custom_error v1.8.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling data-encoding v2.3.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling lru_time_cache v0.11.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling humantime v2.0.1
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.8
[INFO] [stderr]    Compiling futures-task v0.3.8
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling tokio v0.3.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling ring v0.16.16
[INFO] [stderr]    Compiling rusqlite v0.24.1
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling mio v0.7.6
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling nix v0.19.0
[INFO] [stderr]    Compiling users v0.10.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling env_logger v0.8.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]    Compiling tokio-macros v0.3.1
[INFO] [stderr]    Compiling pin-project v1.0.2
[INFO] [stderr]    Compiling futures-util v0.3.8
[INFO] [stderr]    Compiling futures-executor v0.3.8
[INFO] [stderr]    Compiling futures v0.3.8
[INFO] [stderr]    Compiling libutil v0.1.0 (/opt/rustwide/workdir/libutil)
[INFO] [stderr]    Compiling libstore v0.1.0 (/opt/rustwide/workdir/libstore)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::UnixStream`
[INFO] [stdout]   --> libstore/src/connection/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::net::UnixStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> libstore/src/store/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::NaiveDateTime`
[INFO] [stdout]   --> libstore/src/store/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use chrono::NaiveDateTime;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> libstore/src/store/local_store.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Arc` is imported redundantly
[INFO] [stdout]    --> libstore/src/store/local_store.rs:135:29
[INFO] [stdout]     |
[INFO] [stdout] 14  | use std::sync::{Arc, RwLock};
[INFO] [stdout]     |                 --- the item `Arc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 135 |             use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::source::AsyncRead`
[INFO] [stdout]    --> libstore/src/store/local_store.rs:348:17
[INFO] [stdout]     |
[INFO] [stdout] 348 |             use crate::source::AsyncRead;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]  --> libstore/src/store/hash.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Store, StoreError};
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Store`, `store::BuildStore`
[INFO] [stdout]  --> libstore/src/archive/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{store::BuildStore, store::WriteStore, Store};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::io;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]   --> libstore/src/archive/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadHalf`, `WriteHalf`
[INFO] [stdout]  --> libstore/src/source/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::net::unix::{ReadHalf, WriteHalf};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{AsyncRead, AsyncReadExt, StoreError};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `AsyncSeek`
[INFO] [stdout]  --> libstore/src/build/derivation/token.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncSeek, AsyncSeekExt};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this `#[deprecated]` annotation has no effect
[INFO] [stdout]    --> libstore/src/store/valid_path.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[deprecated = "use try-from version"]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(useless_deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> libstore/src/store/hash.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 panic!("unsupported hash type");
[INFO] [stdout]    |                 -------------------------------- any code following this expression is unreachable
[INFO] [stdout] 73 |                 "unsuported".to_string()
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> libstore/src/build/derivation/mod.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |             return Ok(ret);
[INFO] [stdout]     |             -------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 205 |         unreachable!()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> libstore/src/connection/mod.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncBufReadExt`
[INFO] [stdout]  --> libstore/src/build/derivation/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::io::{AsyncBufReadExt, AsyncRead, AsyncReadExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libstore`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "106ea37ea0728959804de1bc60f1875117de2ac5cc7711a79113bc9851b36a3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "106ea37ea0728959804de1bc60f1875117de2ac5cc7711a79113bc9851b36a3c", kill_on_drop: false }`
[INFO] [stdout] 106ea37ea0728959804de1bc60f1875117de2ac5cc7711a79113bc9851b36a3c
